package com.life.xxx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.life.xxx.entity.Shop;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author csl
 * @since 2025-08-07
 */
public interface ShopMapper extends BaseMapper<Shop> {
    //查询总记录数
    public Integer queryByCount( @Param("shop") Shop shop );

    //分页查询
    public List<Shop> queryByPage(@Param("pageStart") Integer pageStart,@Param("pageSize") Integer pageSize, @Param("shop") Shop shop);
}
